package com.itheima.service;

import com.itheima.common.entity.Result;
import com.itheima.pojo.OrderInformation;
import com.itheima.pojo.SubmitOrder;

public interface OrderService {
    /**
     * 根据预约id查询预约信息
     * @param id
     * @return
     */
    OrderInformation findById(Integer id);

    /**
     * 添加预约信息
     * @param submitOrder
     * @return
     */
    Result submitOrder(SubmitOrder submitOrder);
}
